package com.ruoyi.framework.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * 安全配置属性
 * 从配置文件中读取允许匿名访问的URL列表
 * 
 * @author ruoyi
 */
@Component
@ConfigurationProperties(prefix = "security")
public class SecurityPermitAllProperties
{
    /**
     * 允许匿名访问的URL列表
     */
    private List<String> permitAllUrls = new ArrayList<>();

    public List<String> getPermitAllUrls()
    {
        return permitAllUrls;
    }

    public void setPermitAllUrls(List<String> permitAllUrls)
    {
        this.permitAllUrls = permitAllUrls;
    }
}

